package com.lmc.chatroom;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

import java.beans.Introspector;

@SpringBootApplication
public class ChatRoomApplication {

    public static void main(String[] args) {
        ApplicationContext context = SpringApplication.run(ChatRoomApplication.class, args);
        demo demo = context.getBean("demo",demo.class);
        System.out.println(demo.sayHi());

        System.out.println(Introspector.decapitalize("Demo"));

    }

}
